import React from 'react'
import { Button, Space, Swiper, Toast } from 'antd-mobile'
import styles from './css/Myswiper.module.css'
function Myswiper(props) {
    return (
        <div className={styles.box}>
            <Swiper autoplay loop>

                {
                    props.list.map((item) => (
                        <Swiper.Item key={item.id}>
                            <img src={item.image} alt="" />
                        </Swiper.Item>
                    ))
                }
            </Swiper>
        </div>
    )
}

export default Myswiper
